/* 头部 */
header {
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 45px;
    border-bottom: 1px solid #ccc;
}

header span {
    margin-left: 10px;
}

header h2 {
    flex: 1;
    text-align: center;
    font-weight: bold;
}

/* 内容 */
main .main-list .main-item {
    position: relative;
    margin: 20px;
    border-bottom: 1px solid #ccc;
    padding: 10px;
}

main .main-list .main-item label {
    position: relative;
}

main .main-list .main-item label span {
    display: inline-block;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1px solid #ccc;
    text-align: center;
    color: transparent;
    line-height: 20px;
    position: absolute;
    left: 0;
    top: 40px;
}

main .main-list .main-item label input {
    display: none;
}

main .main-list .main-item label input:checked+span {
    background-color: red;
    color: #fff;
    border-color: red;
}

main .main-list .main-item .content {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-left: 20px;
}

main .main-list .main-item .content .car-img {
    width: 82px;
    height: 82px;
}
main .main-list .main-item .content .car-text p{
    margin-bottom: 10px;
}
main .main-list .main-item .content .car-img img {
    width: 100%;
}

main .main-list .main-item .contorl {
    display: flex;
    position: absolute;
    top: 60px;
    right: 20px;
}

main .main-list .main-item .contorl div {
    border: 1px solid #666;
    width: 20px;
    text-align: center;
}

main .main-list .main-item .contorl input {
    width: 25px;
    border: 1px solid #666;
    text-align: center;
    outline: none;
}
/* 购物总计 */
#Total-shop{
    display: flex;
    justify-content: space-between;
    border:1px solid #ddd;
    border-left: none;
    border-right:none;
    line-height: 35px;
  }
  #Total-shop label{
    position: relative;
  }
  
  #Total-shop label span{
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 1px solid #ccc;
    border-radius: 50%;
    outline: none;
    color: transparent;
    font-size: 14px;
    text-align: center;
    line-height: 16px;
    cursor: pointer;
    margin-left: 5px;
  }
  #Total-shop label input {
    display: none;
  }
  
  #Total-shop label input:checked+span {
    background-color: red;
    color: #fff;
    border-color: red;
  }
  #Total-shop .total{
    color: gray;
  }
  #Total-shop .total span{
    color: red;
  }
  #Total-shop a{
    display: inline-block;
    height: 100%;
    line-height: 35px;
    background-color: #E43130;
    color:#fff;
    padding: 0 10px;
  }